/*
 * @Author: song
 * @Description: 轨道自定义特性 用于获取轨道clip类型和颜色
 * @Date: 2024年05月04日 星期六 14:05:29
 * @Modify:
 */

using System;
using UnityEngine;

namespace Function.SkillEditor.Runtime
{
    [AttributeUsage(AttributeTargets.Class)]
    public class TrackRegisterAttribute : Attribute
    {
        public Color _color;
        public string _addName;
        public Type _clipAssetType;
        public Type _trackType;
        public Type _clipDrawType;
        public Type _clipType;

        public TrackRegisterAttribute(float r, float g, float b, float a, Type clipAssetType, Type clipType,
            string addName)
        {
            _color = new Color(r, g, b, a);
            _clipAssetType = clipAssetType;
            _clipType = clipType;
            _addName = addName;
        }
    }
}